package com.share.device.repository;

import com.share.device.domain.StationLocation;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author YC
 */
public interface StationLocationRepository extends MongoRepository<StationLocation, String> {

    /**
     * 根据站点id查询站点位置
     *
     * @param id 站点id
     * @return 站点位置
     */
    StationLocation getByStationId(Long id);

}
